<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String cpath = request.getContextPath();
	request.setAttribute("cpath", cpath);
%>
<link href="${cpath}/admin/images/skin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="${cpath}/admin/css/validationEngine.jquery.css" type="text/css" media="screen" title="no title"/>
<script src="${cpath}/admin/js/jquery-1.4.min.js" type="text/javascript"></script>
<script src="${cpath}/admin/js/jquery.validationEngine.js" type="text/javascript"></script>
<script src="${cpath}/admin/js/jquery.validationEngine-cn.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}
-->
</style>
<script>
	$(document).ready(function() { 
		$("#form1").validationEngine({
			promptPosition: "topRight", // OPENNING BOX POSITION, IMPLEMENTED: topLeft, topRight, bottomLeft,  centerRight, bottomRight 
			success :  false
		}) 
	});
</script>	
  <body>
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="17" valign="top" background="${cpath}/admin/images/mail_leftbg.gif">
      	<img src="${cpath}/admin/images/left-top-right.gif" width="17" height="29" />
      </td>
      <td valign="top" background="${cpath}/admin/images/content-bg.gif">
      	<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
        	<tr>
          		<td height="31"><div class="titlebt">密码修改</div></td>
        	</tr>
      	</table>
      </td>
      <td width="16" valign="top" background="${cpath}/admin/images/mail_rightbg.gif">
      	<img src="${cpath}/admin/images/nav-right-bg.gif" width="16" height="29" />
      </td>
    </tr>
    
    <tr>
      <td valign="middle" background="${cpath}/admin/images/mail_leftbg.gif">&nbsp;</td>
      
      <td valign="top" bgcolor="#F7F8F9">
		<form id="form1" method="POST" action="userMagmodifyPasswordAction">
      		<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="30" colspan="4">&nbsp;</td>
              </tr>
              <tr>
                <td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">用户原密码</td>
                <td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
                <td width="32%" height="30" bgcolor="#f2f2f2">
                	<input type="password" name="oldpassword" id="oldpassword" size="30"  class="validate[required,length[6,11],ajax[ajaxPassword]] text-input" />
                </td>
                <td width="45%" height="30" bgcolor="#f2f2f2" class="left_txt">输入用户原密码</td>
              </tr>
              <tr>
                <td height="30" align="right" class="left_txt2">用户新密码</td>
                <td>&nbsp;</td>
                <td height="30"><input type="password" name="newpassword" id="newpassword" size="30"  class="validate[required,length[6,11]] text-input"/></td>
                <td height="30" class="left_txt">输入用户新密码</td>
              </tr>
              <tr>
                <td height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">确认新密码</td>
                <td bgcolor="#f2f2f2">&nbsp;</td>
                <td height="30" bgcolor="#f2f2f2"><input type="password" name="renewpassword" id="renewpassword" size="30" class="validate[required,confirm[newpassword]] text-input"/></td>
                <td height="30" bgcolor="#f2f2f2" class="left_txt">确认用户新密码</td>
              </tr>
              <tr>
                <td height="30" align="right"><input type="submit"  value="确定" /></td>
                <td colspan="3">&nbsp;</td>
              </tr>
      		</table>
      	</form>
      </td>
      
      <td background="${cpath}/admin/images/mail_rightbg.gif">&nbsp;</td>
    </tr>
    
    
    <tr>
      <td valign="bottom" background="${cpath}/admin/images/mail_leftbg.gif"><img src="${cpath}/admin/images/buttom_left2.gif" width="17" height="17" /></td>
      <td background="${cpath}/admin/images/buttom_bgs.gif"><img src="${cpath}/admin/images/buttom_bgs.gif" width="17" height="17"></td>
      <td valign="bottom" background="${cpath}/admin/images/mail_rightbg.gif"><img src="${cpath}/admin/images/buttom_right2.gif" width="16" height="17" /></td>
    </tr>
  </table>
</body>
